import {selectDictByCode} from "../api/platform/dict"

class DictUtils {
    constructor() {
    }

    static selectDictByCode(code) {
        selectDictByCode(code).then(response => {
            return response.data.dict;
        }).catch(error => {
            console.log(error)
        })
        return null;
    }
}

export default DictUtils;